package pl.koziolekweb.translator.gui;

import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;

/**
 * 
 * @author bartlomiejk
 *
 *
 * $Id: MainFrame.java 157 2009-03-12 14:27:06Z bjkuczynski $
 */
public class MainFrame extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6522670033610357630L;

	/**
	 * 
	 */
	public MainFrame() {
		init();
	}

	/**
	 * 
	 */
	private void init() {
		JMenuBar topMenu = new JMenuBar();
		JMenu menu = new JMenu("Plik");
		JMenuItem item = new JMenuItem("Koniec");
		
		menu.add(item);
		topMenu.add(menu);
		this.setJMenuBar(topMenu);
		
		setSize(800, 600);
		setVisible(true);
		
		setDefaultCloseOperation(EXIT_ON_CLOSE);
	}
}
